home *** CD-ROM | disk | FTP | other *** search
/ SPACE 1 / SPACE - Library 1 - Volume 1.iso / program / 441 / vdisrc12 / vdimake.mak < prev    next >
Text File  |  1990-11-23  |  4KB  |  144 lines

  1. #
  2. # MAKEFILE for VDIFAST Public Domain VDI bindings.]
  3. #  v1.1 - 02/10/89
  4. #
  5. #   This makefile is for the make util that comes with Sozobon C.  When
  6. #   using other (less buggy) make programs, your mileage may vary.  
  7. #
  8. #   The players...
  9. #     MAC.PRG      is the Atari Madmac assembler.  If you don't have
  10. #                  this program, stop now, you lose (see VDI@NOTE.S).
  11. #     AR.TTP       is the Sozobon archive/library maint util.  
  12. #                  If you have Alcyon C, change this to AR68.PRG.
  13. #     DOINDEX.TTP  is the library indexer for Atari's aln linker.
  14. #                  If you don't use aln, macro-define IX as a comment.
  15. #     GLOBS        is the Sozobon util to strip non-global symbols out
  16. #                  of an object file.  If you don't have this, macro-define
  17. #                  it as a comment. (Your finished lib will be bigger).
  18. #
  19.  
  20. ASM   = MAC.PRG 
  21. AR    = \SOZOBON\BIN\AR.TTP 
  22. IX    = \SOZOBON\BIN\DOINDEX.TTP
  23. GLOBS = \SOZOBON\BIN\GLOBS.TTP
  24.  
  25. #
  26. # The modules which make up VDIFAST...
  27. #
  28.  
  29. OBJ1 = vdi@note.o 
  30. OBJ2 = vdiattr1.o vdiattr2.o vdiattr3.o vdiattr4.o vdicntl1.o vdicntl2.o 
  31. OBJ3 = vdiescp1.o vdiescp2.o vdiinpt1.o vdiinpt2.o vdiinpt3.o 
  32. OBJ4 = vdiinqr1.o vdiinqr2.o vdiinqr3.o vdioutp1.o vdioutp2.o vdioutp3.o 
  33. OBJ5 = vdirastr.o vdicomn.o
  34.  
  35. #
  36. # The main library...
  37. #  The entire lib is deleted and rebuilt here.  This overcomes the
  38. #  confusion AR.TTP tends to get about replacing modules, and also
  39. #  guarantees the modules are in the proper order in the lib.
  40. #
  41.  
  42. vdifast.a: $(OBJ1) $(OBJ2) $(OBJ3) $(OBJ4) $(OBJ5)
  43.     $(RM) vdifast.a vdifast.ndx
  44.     $(AR) qv vdifast.a $(OBJ1)
  45.     $(AR) qv vdifast.a $(OBJ2)
  46.     $(AR) qv vdifast.a $(OBJ3)
  47.     $(AR) qv vdifast.a $(OBJ4)
  48.     $(AR) qv vdifast.a $(OBJ5)
  49.     $(AR) tv vdifast.a
  50.     $(IX)      vdifast.a
  51.  
  52. #
  53. # Everybody (except note) depends on a change in the asm macros...
  54. #
  55.  
  56. $(OBJ2) $(OBJ3) $(OBJ4) $(OBJ5) :    vdimacro.s
  57.  
  58. #
  59. # Since Sozobon MAKE's default rule facility (.s.o:) doesn't work, we
  60. # need to give rules/commands for each module (yuck!)...
  61. #
  62.  
  63. vdi@note.o :     vdi@note.s
  64.     $(ASM)     vdi@note.s
  65.     $(GLOBS) vdi@note.o
  66.  
  67. vdiattr1.o  :    vdiattr1.s 
  68.     $(ASM)    vdiattr1.s 
  69.     $(GLOBS) vdiattr1.o
  70.  
  71. vdiattr2.o  :    vdiattr2.s 
  72.     $(ASM)    vdiattr2.s 
  73.     $(GLOBS) vdiattr2.o
  74.  
  75. vdiattr3.o  :    vdiattr3.s 
  76.     $(ASM)    vdiattr3.s 
  77.     $(GLOBS) vdiattr3.o
  78.  
  79. vdiattr4.o  :    vdiattr4.s 
  80.     $(ASM)    vdiattr4.s 
  81.     $(GLOBS) vdiattr4.o
  82.  
  83. vdicntl1.o  :    vdicntl1.s 
  84.     $(ASM)    vdicntl1.s 
  85.     $(GLOBS) vdicntl1.o
  86.  
  87. vdicntl2.o  :    vdicntl2.s 
  88.     $(ASM)    vdicntl2.s 
  89.     $(GLOBS) vdicntl2.o
  90.  
  91. vdicomn.o   :    vdicomn.s  
  92.     $(ASM)    vdicomn.s 
  93.     $(GLOBS) vdicomn.o
  94.  
  95. vdiescp1.o  :    vdiescp1.s 
  96.     $(ASM)    vdiescp1.s 
  97.     $(GLOBS) vdiescp1.o
  98.  
  99. vdiescp2.o  :    vdiescp2.s 
  100.     $(ASM)    vdiescp2.s 
  101.     $(GLOBS) vdiescp2.o
  102.  
  103. vdiinpt1.o  :    vdiinpt1.s 
  104.     $(ASM)    vdiinpt1.s 
  105.     $(GLOBS) vdiinpt1.o
  106.  
  107. vdiinpt2.o  :    vdiinpt2.s 
  108.     $(ASM)    vdiinpt2.s 
  109.     $(GLOBS) vdiinpt2.o
  110.  
  111. vdiinpt3.o  :    vdiinpt3.s 
  112.     $(ASM)    vdiinpt3.s 
  113.     $(GLOBS) vdiinpt3.o
  114.  
  115. vdiinqr1.o  :    vdiinqr1.s 
  116.     $(ASM)    vdiinqr1.s 
  117.     $(GLOBS) vdiinqr1.o
  118.  
  119. vdiinqr2.o  :    vdiinqr2.s 
  120.     $(ASM)    vdiinqr2.s 
  121.     $(GLOBS) vdiinqr2.o
  122.  
  123. vdiinqr3.o  :    vdiinqr3.s 
  124.     $(ASM)    vdiinqr3.s 
  125.     $(GLOBS) vdiinqr3.o
  126.  
  127. vdioutp1.o  :    vdioutp1.s 
  128.     $(ASM)    vdioutp1.s 
  129.     $(GLOBS) vdioutp1.o
  130.  
  131. vdioutp2.o  :    vdioutp2.s 
  132.     $(ASM)    vdioutp2.s 
  133.     $(GLOBS) vdioutp2.o
  134.  
  135. vdioutp3.o  :    vdioutp3.s 
  136.     $(ASM)    vdioutp3.s 
  137.     $(GLOBS) vdioutp3.o
  138.  
  139.  
  140. vdirastr.o  :    vdirastr.s 
  141.     $(ASM)    vdirastr.s 
  142.     $(GLOBS) vdirastr.o
  143.  
  144.